package structurepattern.decorator;

public class DecoratorPatternDemo {

	public static void main(String[] args) {
		Shape circle = new Circle();
		ShapeDecorator redCircle = new RedShapeDecorator(circle);
		ShapeDecorator redRetangle = new RedShapeDecorator(new Retangle());
		System.out.println("Circle with normal border");
		circle.draw();
		System.out.println("\nCircle with red border");
		redCircle.draw();
		System.out.println("\nCircle with retangle border");
		redRetangle.draw();
	}
}
